extern "C" {
	#include "httpd.h" 
}

class HttpHelper{
	
public:
	bool isRunning;
	bool serverOK;
	HANDLE serverThread;
	httpd* server;
	HttpHelper(char *host, int port);
	~HttpHelper();
	void AddDirectory(char *httppath, int (*preload)(void), char* dir);

};

DWORD WINAPI ServerThreadProc(LPVOID lpParameter);